


<div class="content">
    <!--*****************  LEFT  *****************-->
    <div class="columnLeft">
        <div class="content">
            <!--*****************  MENU  *****************-->
            <div class="contentMenu">

                <div class="contentMenuItems">
                    <ul>
                        <li class="contentMenuTitle"><?php __('Actions'); ?></li>                        
		<li><?php echo $this->Html->link(__('New Company', true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Dmdforms', true), array('controller' => 'dmdforms', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dmdform', true), array('controller' => 'dmdforms', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
                        <li class="contentMenuBottom"></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>
    <!--*****************  RIGHT  *****************-->
    <div class="columnRight">
        <div class="content">
            <div class="contentCenter">
                <div class="content">
<div class="companies index">
	<h2><?php __('Companies');?></h2>
        <table class="formstatus"><thead>
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('title');?></th>
			<th><?php echo $this->Paginator->sort('site');?></th>
			<th><?php echo $this->Paginator->sort('activity');?></th>
			<th><?php echo $this->Paginator->sort('department');?></th>
			<th><?php echo $this->Paginator->sort('code');?></th>
			<th><?php echo $this->Paginator->sort('country_id');?></th>
			<th><?php echo $this->Paginator->sort('country');?></th>
			<th><?php echo $this->Paginator->sort('description');?></th>
			<th><?php echo $this->Paginator->sort('created');?></th>
			<th><?php echo $this->Paginator->sort('modified');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr></thead><tbody>
	<?php
	$i = 0;
	foreach ($companies as $company):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="pair"';
		}else{
                    $class = ' class="impair"';
                }
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $company['Company']['id']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['title']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['site']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['activity']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['department']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['code']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['country_id']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['country']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['description']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['created']; ?>&nbsp;</td>
		<td><?php echo $company['Company']['modified']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $company['Company']['id']),array('class'=>'details')); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $company['Company']['id']),array('class'=>'edit')); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $company['Company']['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $company['Company']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
            </tbody></table>
	<div class="paginate">
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	

	<div class="paging">
		<?php echo $this->Paginator->prev( __('previous', true), array(), null, array('class'=>'prev'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true), array(), null, array('class' => 'next'));?>
	</div>
    </div>
</div>
                </div>
            </div>
        </div>
    </div>


</div>
<div class="clear"></div>


